﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Automobile.service.Model;
using Automobile.service.BLL;

namespace Automobile.service.UI
{
    public partial class SellStatistics : System.Web.UI.Page
    {
        SellStatisticsBLL bll = new SellStatisticsBLL();
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Unnamed_ServerClick(object sender, EventArgs e)
        {
            string DateStart = this.logmin.Value;
            string DateEnd = this.logmax.Value;
            this.q.InnerText = bll.SumMoney(DateStart, DateEnd).ToString();
            this.Repeater1.DataSource = bll.SearchShipmentsBydate(DateStart, DateEnd);//获取数据源
            this.Repeater1.DataBind();//绑定数据源
        }
    }
}